package com.gk.study.service;


import com.gk.study.entity.Order;

import java.util.List;

public interface OrderService {
    List<Order> getOrderList();

    int createOrder(Order order);

    void updateOrder(Order order);
    int createOrderOne( String userId,  String thingId);
    int cancelOrderOne( String userId,  String thingId);

    List<Order> getUserOrderList(String userId, String status);

    int deleteOneById(int id);
}
